<?php

/*
 * testando GET
 */
echo $_GET ['nome'];
echo '<br>';
echo $_GET['idade'];

if (isset($_GET['id]'])){
    echo "id = ".$_GET['id'];
}else {
    echo '<script>alert("Perdeu Playboy hahahah!!!");location.href="form2.php"</script>';
}

?>
